this is a c program used to test some code