Text this: Constructing the prime orbit theorem for the beta transformation