There seems to be a fair amount of this:
for(int i = 1; i < 6; i++) {
Any reason for not using index zero?