shortened length of drawboard() by using 2D array