range :: Int -> Int -> [Int]
Using list implem
implementation without scala built-in construct