Began cleaning up code: indents/brackets/line breaks
Got rid of gnu99 standard and pedantic flag