Slice of pie part 2 added and tested for functionality. Working. Modulo formula used