A cobweb model with random expectations