updated battleship.py

fixed check_guess function
added comments