I know this is a bit off topic but extract is not the right word to use. These bitcoins aren't hidden in lines of code that need to be "extracted" as you make it seem. They are simply created; basically out of nothing. When a miner finds a block, that miner is rewarded 25 bitcoins that are created - and proven to be valid.