Added Stack Implementation solution. Note that this is not a complete solution. It doesn't work with numbers with more than 1 digit but you got the idea of the problem