LCS: use closure for recursion definition
LCS: use closure for recursion definition

dborzov/practicin,dborzov/practicin,dborzov/practicin,dborzov/practicin,dborzov/practicin,dborzov/practicin,dborzov/practicin,dborzov/practicin