Added creation of randomly spawning obstacles