Updated Java3 & sleepIn

- Java3 had a brief update to its structure
- SleepIn was adjust to run in the main method to run a test example