Towards an evolutionary procedure for reverse-engineering biological networks