implemented learnBacktrackFrom()
implemented random ints function
code cleanup
implemented getBestMatchingSegment
implemented learnBacktrack()
implemented updateLearningState()
update readme