Added error checking to AAssignment and updated variable names for
clarity.