Remove extra whitespace
Add demux tests
Add QuickCircuit tests based on ScalaCheck
Implement demux0
Implement demux1
Implement demux
Fix whitespace