Cleaned prior scripts and added new C program (not completed) to replace the bash scripts.