Added solution to P1-18, P-19