Fixed nanosleep()
Fixed severe memory leak
Add new new to top of array, not the bottom
Allow for greater testing