Created Obstacle.java