add for loop for printing hex