Implemented while statement code generation.