Compilers classes: assignments solutions