Refactor square class

Square objects won't be notified when the game ends.
Change visibility of addNearbyMine()