Merge pull request #137 from BugFreeSoftware/replace_iterator

Replaced all iterator and const_iterator declarations with auto