**Description:** Develop a log manager to handle undo/redo operations for transaction recovery. **Tasks:** - [x] Implement Write-Ahead Logging (WAL) mechanism. - [ ] Design structures for undo and redo logs. - [x] Ensure logs are synced before page writes to maintain consistency. - [x] Test log recovery procedures.