Use auto instead of typedefs for iterators.
Merge pull request #172 from ahmedcharles/auto

Use auto instead of typedefs for iterators.