Pig latin and cumulative sums, homework 5