Rudimentary function for adding colors to nodes