Changes include
1. All the changes made for 2nd phase of the sorted file implementation.
2. couts in various files for debugging.