Successfuly completed project euler 9