Application of genetic algorithms and memetic algorithms for the nurse scheduling problems (NSP)