Assignment 1: relational algebra Solution