generate_svg function

Generate the QR code as an svg file