Use a dictionary instead of if statement for movements