20-year-old US military presence in Afghanistan has come to an end and the US troops have taken an exit from the country.