My attempt to create a code only version of single player battleship.