Reversing of Automatons added.