A Study of Expert Systems