Adding Stack and Queue solution.