Variable order Markov Model package for R