Add time queue;

To-do list:
add interrupt handler for clock (switch and case);
move one test1c;