How does the bitcoin work?