Added solution for Q12