The Boolean Algebra: The Mathematics of Logic Gates