Solve euler problems