Reworked find()'s mechanism to better show the algorithm