uva 101: the blocks problem, stack struct