Finished Battleship Code