Stock exchange: A statistical model