completed the Hack assembler in Perl