finished project euler 17