object pool for obstacles
Add reset method
Finally adding obstacles to the scene