My attempt at implementing the lessons in "Elements of Computing Systems" + custom things in scala