Initial sleepsort function and passing test