Quick Find algorithms form Lecture 1