Update longest_increasing_subsequence.rb