How to create the classic game "Battleship"(Text-based Version) in Python.