WIP: Implement exit system call to terminate a task

Todo: Earse unused task stack. It seems there might be fragment
      problem in current design