Added a function to convert hex to base 64 (challenge 1)