Create hx711.pl

This is a port of the BASH script hx711.sh