Updated to be able to change from hex ->dec->binary->dec