a simple battleship game in python