Got the checks working

Board co-ords are (y,x)  not (x,y)!