Problem 2 of Euler project / first commit

First time I try a commit here in GitHub. I'm commiting the code I'm
making to answer euler project problem 2