Sandbox version of LCS written in Java