XThe X Algorithm