changed position to square, deleted unnecesary getShipAtPosition