added points_for(teamname) function which calculates the points earned for a team in an array of games
added a bunch of todos