Completed this C Code!