diff --git a/.aoc_tiles/tiles/2024/16.png b/.aoc_tiles/tiles/2024/16.png
index f5551a1..2e96a98 100644
Binary files a/.aoc_tiles/tiles/2024/16.png and b/.aoc_tiles/tiles/2024/16.png differ
diff --git a/README.md b/README.md
index 39e18b5..96eb4aa 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
- 2024 - 31 ⭐ - Rust
+ 2024 - 32 ⭐ - Rust
diff --git a/utils/grid/lib.rs b/utils/grid/lib.rs
index dab4207..596268e 100644
--- a/utils/grid/lib.rs
+++ b/utils/grid/lib.rs
@@ -181,6 +181,12 @@ impl Grid {
None => None,
}
}
+ pub fn get_mut(&mut self, c: &C) -> Option<&mut T> {
+ match self.valid_pos(c) {
+ Some(pos) => Some(self.data.get_mut(pos).unwrap()),
+ None => None,
+ }
+ }
pub fn set(&mut self, c: &C, mut val: T) -> Option {
match self.valid_pos(c) {
Some(pos) => {