I am wondering why the global variable x and y are not updating from the function \'move\' in while loop. Can anyone please explain why this is not working and how I should