Create word_frequency_allow_tie.py

Given the input list of words, print the k most frequent words ranked by their frequency.
In  the situation where the kth word in the output is tied of frequency with other words in the input, print all of them