adds score function. This function returns the total of the given owners pieces minus the other owners pieces. The value of kings vs normal pieces is located in this function.