Added solution for HW3