added solution to UVa 562-Dividing coins