removing stack_test.pl
fixing a few problems