Finished problem 11 (finally)