Write up and code for an implementation of properties of the World Trade Web