Create functions.php

copied from CS50 finance