q library examples