There was a minor change I needed to make to squares.py as it was causing a syntax error on the node of execution:
On line 33, I changed:
arguments=['expr', x, '*', x],
to:
arguments=['expr', x, '\*', x],
In order to escape the *
character so that it would be interpreted properly by the shell.