Monolithic binary stiffness building blocks for mechanical digital machines