Fix if and while phi
Add basicIoOp read, write, wln
Add test case