exercise 2 into own file, rectangle now movable with arrow keys