Add solution for UVA problem 572 Oil Deposits