implemented a simple "getwork" miner