implemented xAt, added several tests, fixed issues with Cycle and Do's corner cases