Rename square using iterator to square using iterator.cpp