My attempt at the Battleships project.