Sample C programs for senior thesis