Code from the Programming Paradigms course