Algorithm: Battleship adding more

Classwork:
Add to the program a code to find the ship:
game3 = [0,1,0,0,1,0,0,0,0,0]
The first position on the list is not part of the board.

Homework:
Add to the program a code to find the ship:
game4 = [0,0,0,0,0,0,1,0,0,9]
The first position on the list is not part of the board.