sleep.c basic functionality working