Battleship with a java GUI