Code clean up and fix

Fixed life.bat and wrap.bat to work properly.
Also added sleepSort.bat.