How is the Torah compiled?

Can you answer this question?