Added function for producing Cayley graphs.