updated sample to include additional features (if statements)
add if statements into the language