Add Knights tour code