add sleep algorithm
Merge branch 'master' of https://github.com/palanieswaran/ubersleep