Adding saveLanguageToFile function

Created by Berhan Karagöz, thanks!