Added solution to 7.