added problem 11

Not very elegant, but it works