The sprite should move in the correct directions when the arrow keys are pressed. Update the code so that the project works correctly.