Added solution for 2.3.a