Added python example for language detection

I have written a python example of language dtection.