Python Loop Through All Characters In String