solves Euler1

Solves the first euler problem