Working on problem 3. Created eulerutils module.