Packages left(), right(), up(), and down() into a single move() function.