Finished getOccupiedLocations()