Added correct solution to 3.5

This solution uses a linked list implementation of a stack instead of a python array [ ]