implemented nested loop Join