Done HW2 Compiler