Euler 1 Documenting and Condensing

Documenting algorithm
Documenting potential bug for generalised inputs
condensing unnecessary lines