Euler problems 1 and 2
Starting third solution - performance issues