Can having two episodes (one year apart)of extremely heavy drinking (the point of throwing up)+ a couple drinks every few months cause liver cirrhosis?

No. Most folks including me had a few throw-up adventures as we were learning our limits. Glad you recovered. It wasn't really that much fun, was it? Be glad for good health and enjoy the wonderful gift of life with an unclouded brain.