Programing Contest Challenge Book's codes