The invention of gunpowder by the 10th century led to an array of inventions such as the fire lance , land mine, naval mine , hand cannon , exploding cannonballs, multistage rocket , and rocket bombs with aerodynamic wings and explosive payloads .