Moved display function

Moved displayAssignment from handler to assignment class