Added fuctions: display chromosome and setActiveNodes