Better randomization; attempted to model S(t+1) and M(t+1)

the mode is commented out right now.
Able to allow equal chance of being selected for all nodes

Also allowed easy modification of the learning rate
added ability to graph the tree
implemeted the oudeyer's segmenting