Added trends.py for proj2