The Fascinating Programming of a Chess Engine