This solution was built in Python 3 but is compatible with Python 2 on a macOS.
To run this tool:
- open Terminal with the current directory where TrussInterview.py is located.
- run the following command and replace the input/output file names if necessary
python TrussInterview.py < inputFile.csv > outputFile.csv