Simple example for crating threads in java using runnable, thread, callables.