Added solution for p10