the development of gunpowder and its effects