Added solution to UVa 10010