Added an abstract class named BatchAgent that stores the interactions. Also adjusted LSPI class to inherit from this class instead of Agent class directly