Update PowerGenerator.cs

Moved power generator logic from ShipMovement.cs into PowerGenerator.cs