This video tutorial was quite insightful for me to have a grasp of how RNN and LTSM works.
this is another “friendly” video tutorial that explains the details of matrix calculation
This post also explains in details that is very helpful
http://colah.github.io/posts/2015-08-Understanding-LSTMs/
and this github repository has very nice collections of Machine Learning related tutorials/codes