Create time_complexity.sh

Avoid using expr. If used for mathematical operations, it actually spawns a new process every time it is invoked and thus adds up to execution time.