Update puzzle.groovy

comment on the implementation and first pass