my -not so smart- project euler solutions