Utility to convert hex or dec to binary format
