simple app to detect the number of cores on your machine (os-independent)