mkr's submissions for Check for Balanced Brackets