Applying simple policies to a cartpole game