refactoring hammingDistance
adding FrequencyAnalysis
using FrequencyAnalysis instead of isASCII
removing ASCII module