Update functions.php

Simnple reusable functions written in php