Implementation of relational join algorithms in Python [1]