Bharath added some information about finding primitive roots modulo p