added draft of maxwell equation, particles now move periodically