Rewrite euler0046.cpp to match the new euler0046.py
Converted euler0004.cpp to Python
euler0004.cpp no longer uses any C functions