refactored the file to show only functions that validate the input(coordinates). 1. validates starting input 2.validates position you want to move 3. makes the move 4. changes turn