fixed bug in battleship initialization