wrote outline for code for euler problem one