Got test case running, and getLCS appears to work right.