You can follow this link -started-with-archicad-add-ons. This is a simple tutorial to create an simple Add-ons and add it to the Archicad software.And again if you installed the API Development Kit for the Archicad. In the installation location you will found a folder called "Examples" where you will get some of the demo project for the add-on. I think that will help you a lot.