implemented runtime constructs up to Ifs and Fors