Hashed model

Created a bayesian model that uses a graph-like hash for storing model training data.