made another fix to the bad solution of this euler problem