Update main.c

I cannot seem to get my portion to compile correctly. It seems to not enter any of my while loops. Help please!