Adding LIS algorithm implementation.