add LCS ruby code implementation, now can only output the length