implement find
beautify test.cpp
implement rfind
updated README.md