Truth Tables and Circuit Design