Added solution to q3