create fully connected nn