Create basics.php

Initially adding function to format MAC addresses for display.