Added analyze.py and removed the relevant shit from marketsim.py. Just need to go through and clean it up. Coding standards and all...