Implement selectLcsImplementation()

Implement method selectLcsImplementation() that automagically selects an LCS implementation based on the estimated memory footprint of the TimeEfficient implementation.

Related thread: https://github.com/sebastianbergmann/diff/pull/11