added Serializable interface to Pair class

THis in order to serialize an ArrayList of CommonTokens.