Correcting mistake in input file & debugging