implemented the shipsSunk int and the getShipsSunk method now works