Assignment 2 for Jon's SLM seminar