Add qr util

Signed-off-by: Oleg Bulatov <oleg@bulatov.me>