Added more linear time stuff

Linear time suffix tree construction and conversion between LCP
array and useful data for implementing binary searches.