Node.hpp & .cpp: Added attribute to index the nodes in a network,
constructor was changed to include the indexing process.
Network.cpp: Changed network construction algorithms to fill the index
attribute.