function prototyoe, able to find lcs among first 2 strings
able to find lcs for every line of input, (in a for loop)
reduce debug-purpose output