Code samples for Penrose