The Mystery of Hamlet. an Attempt to Solve an Old Problem