Various c code used for learning.