eulerian path done (additional checks are needed)