Add event logic so that the dragonfly can move to the beetle. Up arrow to move forward, left arrow to turn left, right arrow to turn right.