Adding solution to #10