Create Change to addAssignment in Database class

This change ensures that the user cannot create two or more assignments with the same name - ensures proper functionality within editAssignment in the GUI