Added sleep helper function.
Renamed sleeping function.
Merge pull request #51 from brennonbrimhall/topic/35

Added sleep helper function.