Changing color of nodes