added implementation of Graph colouring