add a test case generator
add a serial version of LCS