Core components for Robot Odyssey-style gate-level logic in Python