Adds while and for loops.