improvised debugging

Hi Shreeni,

I have some changes which will improvise debugging. Mainly, I have been stuck whenever there is a segfault and put '-O2' in CFLAGS, so gcc by default optamized output binary. I have changed this behaviour to '-O0'.

Also, improved fopen() calls in synthesizer.c.

I saw some issue regarding the way this project includes local headers. Most of the segfaults happening because of this issue. I can explain better in-person/over-phone.