Add in second transliterate_hangul function call

Adds in second transliterate_hangul function call after realloc if
needed.
Make get_input_string accept file input

Also abstracts the transliteration process with function pointers.