Tyler Breland: Dinodex solution r1

revision from Dan Schepers code review
I really don't know. I wonder if you can... I seem to remember people having some hard times with it. Anyway, this is plenty legit.