Shift register 74HC595

I know that there is such a library. But I did not understand it, there are too many all kinds of nodes. So I created my library 74hc595n. Just one block.