3 stacks using one array