This is a prototype of ruby code for finding a longest common subsequence of two sequences.