created obstacle class. obstacles are now drawn to the screen.