Compiler for theoretical KXI language, class assignment