Add new functions to initialize freequeue and readyqueue and clean extern variables (zeos_ticks and curr_pid)