created first three algorithms

still need to complete find first match