Create a matrix of pieces