keyboard with 8 notes

altered code from Arduino Project Book to create keyboard with 8 notes, instead of 4