Update word_count.cpp

Updated to take user input for filename.