output and input as per requirements, times in seconds as required, changed test initializers, modified printing, plus some minor changes