Task scheduling using Genetic Algorithm