Added hex converter for lab 4