Added print statement: this does slow down the execution
More K&R ex
Shell sort example from K&R 2