Cleaning up
Made hex writing function
Wrote a function to print out decimal numbers