working implementation of euler3