Added support for while and do-while statements.