implemented a straight forward solution for #127 using in-memory dictionaries, lookup counts and hit ratios to see how likely a language guess is to be right