Fixed code

Fixed code in Slice of Pie part 1