add BFS method to solve LCS... Myer"s algorithm is too complicated