Imported in markov modules library I wrote. See separate git repo for version history.
Fixed some of the coordinate finding issues by changing hash map to tree map. The results are a little better than earlier and doesn't bug out as much, but it doesn't propagate the information from the unknown regions.
Properly fills in information for initial state (non deterministic because the item returned is based on memory location the object is allocated at) but still has bugs because the unknown nodes aren't spreading their state properly