Translated ObjC chessBoard to Swift Board