First version of the Tries with frequencies implementation in R.