DZone puzzlers written in scala