Finished Code for Data, Record, and Analyzer: Final