babby steps
Added c99 flag and messed around with bool