Write the number of all possible matrices of order 2×2 with each entry 1, 2 or 3