If, While and Assign parsing