Added triggers

Added triggers to delete notes/hw/grades of a class when that class is
deleted,
added cardinality to participation constraints of ER diagram.