Added ex2.65 solution