Implementation of First, Best and Worst Fit memory management algorithms