ruby and scala solutions to balanced brackets 

Here is a solution to [balanced brackets problems](https://github.com/blakeembrey/code-problems/tree/master/problems/balanced-brackets).  A good usage of stack.