State And Explain Cooks Theorem