Implemented Demo Mode

Fixed NPE running code.
Fixed running bug introduced in the last commit.
Fixed NPE making a new assignment.
Fixed trying to unit test assignments that didn't have any unit tests.
Added way to add assignments and names to the gradebook when there aren't any.
Fixed a crash when creating the first name when an assignment already exists.
Fixed printing crashing if there are no grades.