finished 4 find_conner line to line algo