Solution 1: Using range

range x y = [x..y]