Initial commit.

Added an improved version of calculating distance between two text files.
The improvement is achieved by reducing one “for” loop over one of the word_freq_dict, because when you calculate the inner product of word_freq_dict1 and word_freq_dict2, you can reuse the same loop to calculate the inner product of word_freq_dict1 itself.