Modify the program so it implements the calculation of the squared error. In other words, you should calculate the predicted prices for all the cabins in the data, subtract the predicted price from the actual price (which is given in the data), square the difference, and add them all up.
The program needs to work for any number of cabin features and coefficients, not just five features currently in the data.