SMS dit: The tensor network theory library