The Q Life

algorithm