Added function moveShips.  got it to run on the main function and was able to test to make sure the error messages went through as planned