Add java solution for RNA