Wrote code practicing functions.

Done in arithmetic.php