compilation of simple programs featuring for and while loops, and comments