added euler2.cpp

added projecteuler completed problem 2