Wrote sanitizeLang to take user input and match to one of the supported languages or return null.