Fix two while- and for-loop code generation limitations
Fix two while- and for-loop code generation limitations

javatlacati/codecombat,javatlacati/codecombat,codecombat/codecombat,javatlacati/codecombat,codecombat/codecombat,javatlacati/codecombat,codecombat/codecombat,codecombat/codecombat,javatlacati/codecombat,codecombat/codecombat