Added problem10 solution