add range-function to readme