optimization : getRepos() returns an arraylist
optimization : createMetaGraph parameters are 2 arraylists
various cosmetics
fix : making equals consistent with compareTo
no need for addLeaf : code moved into createMetaGraph