Update griffin.py

build products function