Input validation and exception handling completed.
UI improved.
Fixed ViewHomeworksPage to restrict teachers from adding a mark to a homework that is already marked.