add Longest Commen Subsequence class