Project 07 Keyboard Instrument

There is no mistake in this code. The first 2 lines:

int buttons[6];
int buttons[0] = 2;

are EXAMPLE lines, to show how it works. You can identify them because they have no number. The code always starts at
1.
2.

etc.
anything before that is 'code' to explain things.