State the principle of moments. Name one device based on it.