Added solution to exercises