initial checkin of euler solutions
cleaned up loop