Created a Prediction struct to hold predictions in an array