What is a cryptocurrency wallet and how does it work?