Project Euler Problems 1-2

First two problems of projecteuler.net
Coded in c++