Implemented colour cycling

Added code to allow colour cycling