Zombie Horde graph solver for a code golf challenge