Tutorial example codes for learning.