update README
added loop
added new test cases