reporting class for measuring time and memory complexity of algorithms