For this assignment you'll be creating and implementing middle(), union(), intersection().
Fig: 1
Fig: 2
Fig: 3