Update functions.php

Simple reusable functions written in php