python like range in c++11