Use 2d array