added a user panda.py file and fixed some bugs in Types and Functions