Added code to Queue and Stack