__author__ = 'Nikita'


def is_eof(ch):
    return not ch


def is_space(ch):
    return ch == ' '


def is_tab(ch):
    return ch == '\t'


def is_new_line(ch):
    return ch == '\n'


def is_split(ch):
    return is_space(ch) or is_tab(ch) or is_new_line(ch) or is_eof(ch)


def is_comma(ch):
    return ch == ','


def is_colon(ch):
    return ch == ':'


def is_semicolon(ch):
    return ch == ';'


def is_starting_comment(char):
    return char == '{'


def is_finishing_comment(char):
    return char == '}'


def is_punctuation(ch):
    return is_comma(ch) or is_colon(ch) or is_semicolon(ch) or is_starting_comment(ch)

@@ -400,39 +400,100 @@
 ;'%0A%0A%0Adef is_
-starting_commen
+left_curly_bracket(char):%0A    return char == '%7B'%0A%0A%0Adef is_right_curly_bracke
 t(char):%0A   
@@ -501,33 +501,33 @@
 return char == '
-%7B
+%7D
 '%0A%0A%0Adef is_finis
@@ -525,24 +525,203 @@
  is_
-finishing_commen
+left_round_bracket(char):%0A    return char == '('%0A%0A%0Adef is_right_round_bracket(char):%0A    return char == ')'%0A%0A%0Adef is_left_square_bracket(char):%0A    return char == '%5B'%0A%0A%0Adef is_right_suqare_bracke
 t(ch
@@ -737,33 +737,33 @@
 return char == '
-%7D
+%5D
 '%0A%0A%0Adef is_punct
@@ -844,23 +844,25 @@
  is_
-starting_commen
+left_curly_bracke
 t(ch

add brackets