data structure codes and examples