So basically this is an algorithm I made for a battleships game. I\'m having problems with the while loop, I want to have the code inside the do while loop keep repeating, i