Added solution for 1a