sem2hw2tas2: Added another implementation of stack, based on array