Reduce Energy Consumption and Increase Lifetime via Genetic Algorithm over Wireless Communication Networks