euler's 13/14: unoptimized groovy solutions