Introduction - If you have any usage issues, please Google them yourself
Latin matrix design algorithm to solve the problem, the gem n different shapes arranged in m rows n columns of a matrix, each row of each column of gems don't have the same shape, strives for the gem number arrangement scheme