Some code organizing.
Added a small movable rectangle (move with arrow keys). Handles multiple keys pressed simultaneously, i.e. can move diagonally.