Shard Formation and its application in Blockchain