Added Big Money

Created the basic framework for Big Money in the testai.php file. Plus I
added some functions into common.php to help with repeated calculations
and the like.