4017 IC switch matrix controller and library. Up to 100 switches with 3 pins!