Fixed __eq__ method of Transition class.
debugging scripts added.