Adds a more straightforward solution

This solution only finds the length of longest increasing subsequence
rather than the subsequence itself.