public void addSpring(Mass source, Mass destination) {
        if (source == null || destination == null) {
            throw new IllegalArgumentException("The arguments may not be null.");
        }

        Spring spring = new Spring(this, source, destination);
        springs.add(spring);
    }