Assignment for the Compilers course at the University of Helsinki.