public static void main(String[] args){
//Create an agentLoader that will start the agent when its run method is called
AgentLoader theAgentLoader=new AgentLoader(new SampleSarsaAgent());
//Create an environmentloader that will start the environment when its run method is called
EnvironmentLoader theEnvironmentLoader=new EnvironmentLoader(new SampleMinesEnvironment());
//Create threads so that the agent and environment can run asynchronously
Thread agentThread=new Thread(theAgentLoader);
Thread environmentThread=new Thread(theEnvironmentLoader);