Add generator to add obstacles