Update Assignment2.rb

Added code for determining if file contains balanced set of braces and or distinct double letters in a row.

2 implementations of balanced bracket are included. One through a long and convoluted method and another trough regex that only catches one balanced bracket at a time.