change thread_sleep to mirror thread_block; included timer.h to threads.c because timer interrupts weren't happening