Heres the perliminary code for the matcher.