Add solution for finding largest element in stack