Added a first draft of the FIND algorithm