find-element in an array

#returns "found" when the element is the array else it returns "not found"