Midterm, Problem #3 Solutions

Complete compiler functions for language.