Added team_computePoints(). This function calculates the points of team and will be used in printScore().