Don't sleep if interval==0; updated README
Added example in README