adding the sample input files given in the assignment