Generating EEG Graphs Based on PLA for Brain Wave Pattern Recognition