A basic game of the famous Tic-Tac-Toe written in Java