fixed typos in main.c - ep4

was watching episode 4 on YouTube and noticed some typos so they are fixed now.