Updating obstacle.py to cover whole obstacle