Added pats field to symbol table so we can keep track of different pattern lists for the same identifier; modified semanalyze to include this new field whenever we modify symbol table