Triangle facts2 pgh

This is my pull request for the Triangle Facts exercise. I had to delete my previous pull request for this exercise because it included my dino_catalog commits. I have corrected my local git repository so this doesn't happen again.
I've never seen someone use protected accessors. I don't think it makes sense, but I'm open to discussion.