Finds the longes word containing other words