Added longes substring algo.