added solution to UVa 10755-Garbage Heap