Create digestLoop.cpp

initial commit