Language Detection Based on Letter Frequency