Optimized longest common substring implementations. Added heapsort