How Do The Six Logic Gates Work