Added basic logic to join two queries by substituting any variables that conflict and are not part of the join with fresh variables. Added view logic to update display when such a join occurs. Closes #2 (for now).