What is Bitcoin Mining and How it Works?