The Stock Market in a Deterministic Overlapping Generations Model