qr_code function

Generate the QR code