Added functions and degree counting to check for Eulerian Graph