Learning Kernel internals with code examples