completed spark exercise
formatting updates