Add LongestCommonSequence problem into Dynamic Programming
update test case for N queens