I was trying to edit a file and while playing around to improve my C. For some reason my program is causing a segmentation fault(core dump). I suspect it might be because of