Moved check_occupied from game to square