Teacher View: reading all the homework assignments

and populating the Table dynamically