how swords came to be