began rewriting allmost all the code for the battleships game
did it properly this time