Added gun as an obstacle

Since the laser can collide with the gun it was fired from, the gun was
implemented like any other obstacles.