Added solution to ex1-24.scm