Preemptively fixed some template issues.
Added header required for pair.
Added the header for std::pair.
Completed read_the_file.