Added hw_builder.py

A python version of hw-builder.sh which should be easier to extend
(since it was written in NOT bash.)