updated battleship.c

updated the whole file to include the main menu. Everything on client is checked for except guessing on the same spot twice. 
Network functions need work though