Place ship functions and attack functions done

I have finished both place and attack functions