euler via pthread without comments