Hamlet WORK_OF_ART is a tragedy written by William Shakespeare PERSON sometime between 1599 and 1601 DATE .