finish assignment stuff

I finished the basic assignment stuff. Assignments index is now in a table, and it is possible to delete assignments.