How to use gravity to store energy