added solution for #8,#9,#29

Reverse String
Sort with Indexes
Traingles