Added more learning data and implemented statistics.
Added a lot of learning data and renamed some.
Refactored stats printing to a new function and implemented a prefix getter function for a node.