https://devhubby.com/thread/how-to-create-a-vector-of-rwlock-in-rust