The idea was to simulate Getblk algorithm that handle the allocation of buffers to processes. The requirement was to be able to visualise all 5 scenarios of Getblk and clearly identify the working of Getblk in all of those scenarios.