implemented while, binOp and unOp