Updating doc-book

- Writing some documentation about thread scheduling.
- Fixed assert function names
- Shrinkening ascii figure