added error handling to importing and parsing data
using max() and min() to calculate max and min scores rather than conditional assignment