Made superuser installation into a function.  Modified how sudoers file is edited, and added syntax checking via visudo.