added function to validate bitcoin address