added range function task 5