Console log final result

added if else statement to account for amountPies variable and how many
the user may put