In Shakespeare's play Hamlet, Hamlet was prince of