change types for handling operations[] arrays from char to int
added prototype for eval() function; added comment for saferFree() function