implement remainder for nanosleep
Finish implementing nanosleep by returning a remainder if current time is less that the requested end time.
Finish implementing nanosleep by returning a remainder if current time is less that the requested end time.