Create obstacle.h

The source code for the header of the obstacle class.