Second assignment solutions