Convert binary to decimal

Implement with stack