Simplified algorithm by eliminating need to assign color to a node