added an assignment helper and changed some small things in index
added scores in teacher dashboarD