Implemented FirstFit