Added recursive implementation of find_best_sequence(...)