Basics of block chain and cryptocurrency