Refactor Update() method moving common logic in a new method named Move(). DRY implementation. Removing unnecessary validation constants. Rename direction to inputCommand; Refactor PrintTopResults() and rename it to GetTopResults().