Finished the function find and now writing test for it.