finished the 11th problem set. i could have cleaned up the code a bit, and do some optimizations, but got a lot of other things to do.