Binary Arithmetic and Boolean Algebra