added usage
correct bin2hex function definition