Add test case like in the readMe file and show the test, modify the rang function