added Serializable interface to Pair class

In order to serialize an ArrayList of CommonTokens without errors