Add random generation of obstacle