Wrote code for Problem 1(http://projecteuler.net/problem=1)