add Range and Repeat functions; add tests for them as well as for LINQ function itself