a compiler assignment from Cousera "Compiler" course