Version 1 of MiniC_IFStatement

cannot work with nested loop