Added global boardx and boardy

boardx and boardy are the board's x and y length.