Once all of the cubes have been formed, the top cube turns right when key q is pressed, the middle one key a, and the bottom one key z.