Python Augmenting Paths