adding project euler prob #7