Class project: compiler from a textbook language to llvm code