C scripts for learning