Create hourglass.cpp