Classification of Electroencephalogram using Artificial Neural Networks