CC Ch9.2 robot moves in a matrix