A few functional updates
A few functional updates

For python 3, dict.iteritems() has been changed to dict.items().

Also, 'has_key' has been changed to in. 

For example:

if graph.has_key(start):
        return None

has been changed to:

if start in graph:
    return None

Former-commit-id: 9ee607cd9611253ddb31a4bf5a08903cf5aa8876
sansbacon/nba,sansbacon/nba