Added the function to get the answer for the Slices of Pizza I assignment