A console based battleship game created in Java