even more effective solution for battleship1p problem