Added basic support for while and for loops