Diagram Codes and Tutorials