Wall Street closes rollercoaster week sharply lower