First working of simple two tone detector
Clean up, added licence