Translation program design of FOR loop statement (simple priority method, output quaternion)