Expectation formation in an overlapping generation model with production