Learning Obstacles in the Capture The Flag Model