Pattern matching game (practicing some BDD/TDD)