My bad. I thought you were using those pins for both the driver and your connections. I just saw '1' and assumed it was a pin number. Should have looked closer.
As for the code, it is missing one semicolon after the pins declaration. Hardly insurmountable.
const byte pins[] = {
6, 5, 38, 36, A7, A8, 37, 39, // A
7, 4, 40, 34, A6, A9, 35, 41, // B
8, 3, 42, 32, A5, A10, 33, 43, // C
9, 2, 44, 30, A4, A11, 31, 45, // D
10, 1, 46, 28, A3, A12, 29, 47, // E
11, 0, 48, 26, A2, A13, 27, 49, // F
12, 14, 50, 24, A1, A14, 25, 51, // G
13, 15, 52, 22, A0, A15, 23, 53, // H
};