2nd commit for general assignment 3, added the proper main.c and then added input and output file