added solution to UVa 990-Diving for Gold