Marked Segmentation fault areas

-No idea on how to fix most of them