Added LCP array code.