Complete problem 24

- Solve problem 24
- Add some memory usage metrics and overrides