Implement the arrow class for automatons