part 6 for cs536 - compilers