Added solution to exam's first problem