How the Königsberg bridge problem changed mathematics