First pass at reintroducing colours.

I was having some issues with nested structs and arrays so new array for
colour ids was added. I may attempt to redo this with better data
structures at another time.
New and improved graph colouring!