This returns a list in which each element in the result is the difference between two consecutive elements in the parameter.