Update OptimizedLCS.java