Slices of Pie part 1 problem