java battleship game that has I/O via console