solutions to Euler project