BattleShips Practice Test (Java)