Slice of Pie part 1; I have applied the print function to display the results in the console.