Update main.cpp

Unsure why I had the loop initialized variable as an unsigned char. My bad.