adding homework assignment model