add solutions for ex 10