Create ActionStatePair.java

Added parent functionality.