Electroencephalogram machine