R code for Neural network on Spam data