Working on groovy version of euler twelve