Basic implementation of Gate connection data structure
Gate parser implemented
Gate: leakage and output table calculation