Got EfficientJoin working. This version has lots of debugging print statements.