Console based Battleship game in Java