expanded demo

- now tracks time and accepts arg for number of threads to use