A Java word frequency counter with a binary search tree implementation for my data structures class