Moved get_bigram_frequency
Fixed codestyle and added ability to work with other input files