Removed extra variable declarations in bestFit(), firstFit(), and
worstFit().