Implemented balanced brackets in Python.

**Balanced brackets** problem solved in `Python`.