Added if statements to the CS interpreter