Implemented exercise 3.6 - Sort a stack in ascending order by using an additional stack.