logic.py: initial commit

This commit introduces the basic script used to calculate the jitter
between two rows from a CSV file export from the Saleae logic analyzer.