Update main.cpp

@line 18 int data type changed to unsigned char