Utility function to make small list of integers increment by 1 Usage : interval(2, 5) -> [2, 3, 4, 5]