modified WordCount.java to take in multiple arguments and implemented a working version
of MoveToFrontList (sans comments)