arraylist for obstacle and reward