Wrote the pair-generating functions.
Added gitignore