A Genetic Algorithm for Resource-Constrained Project Scheduling