What is the etymology of whodunit?

Can you answer this question?