BranchAndBound: Keep forward and reverse edge hashes
BranchAndBound: Keep forward and reverse edge hashes

Instead of creating new lists and hashes all the time, we'll create one
and then add to/remove from it.

petertseng/adventofcode-rb-2016,petertseng/adventofcode-rb-2016