adding project euler ex 25