Added a Pair class.

For storing types and egg groups.