Euler: Solved problem 29
Euler: solved problem 45
its not the best approach, but it runs fast enoght