beauty - Euler's Algorithm