add bitcoin difficulty calculation script