main_ACTIVE.c

Updated version of code for Project #3.