added delete functionality to assignments index page