Re-did euler-003 to use tail-recursion.