Add data structure script
Fix generic type
Building tree operations
Subtract method