A simple text based tic-tac-toe game written in java