Adding problem that calculates max deviation when given a list of numbers and the length of segments.