Electrochemically Controlled Assembly and Logic Gates Operations of Gold Nanoparticle Arrays