Update cshw6.c

Edited sum array to fit up to 5000x2 inputs