fixed a bug where it would incorrectly return false on contains if the correct node had a right subtree.
It is now correctly counting frequency with no duplicates, even on really big files.