started implementation of merge join