Grammatical Study of Ribonucleic Acids Pseudo-Knot Structures: A Simulated Annealing Approach