How To Loop Through Strings In Reverse Python