A resizeable layout and a new constructor.

A resizeable layout and a constructor that takes a CourseAssignment object as a parameter.