changed figures for matplotlib lab

added figures.py