Evolving Artificial Neural Networks using PSO and GA