modified gaps.cpp : auto are now used to replace iterator declarations