Create FoundationCoins.php

This is the main script to calculated foundation coins.
It may be updated, it may not. It goes a rough estimate either way.