now ~ 1/10th of a second between intervals

added nanosleep functionality, program now waits
for about 1/10th of a second between intervals
(150000000 nanoseconds)