Added solution for Longest Improvement