fixed isOccupied
typo
clean up
implemented findHighest