Implemented Sleep Task

I added an implementation of the Sleep task. In addition to this pull request, I've also added it to the wiki page on Rosetta Code.