Assignment 2.2

I added Assignment 2.2. Not very elegant, but I think it works.