Create sleep.cpp

forgot to include from wip branch