Genetic algorithm for graph colouring