Random attempts on project Euler.