Solves AOJ No. 0224-0231.
Modifies AOJ No. 0086.
Modifies EulerGraph and Adds EulerGraph for digraph.