Fixed some c99 standardizing issues, changed input function from getline to fgets