Goal-Directed Planning by Predictive-Coding based Variational Recurrent Neural Network from Small Training Samples