added code for sending coins from one address to another