add basic example for rntn training and a few predict methods