added timing to #3 and boilerplate to problem 9