Implemented sleep

Provides a ```sleep``` implementation consistent with GNU ```sleep```.