new changes fixed the stacks and queues

working on the game puzzle.