Finished the function
Commit error has been made. Merge github.com:princeedward/RelationalAlgebra