Started AC pattern maatching
Finished experimental A/C pattern matching.