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