Implemented recursive find method