The full title is The Tragedy of Hamlet, Prince of Denmark, so of course it is tragic. Shakespeare wrote tragedies and comedies, as well as sonnets. Operas also have many characters die. Your paper is in good shape now.