Create LCS.py

Time efficient LCS code