Python script for multi thread execution on multicore processors.