made pentagon move based on input from directional arrows on keyboard