built the graph through stack
fixed '{', '(' and '[' corner cases
Merge pull request #1 from MensEtManus/beta

fixed '{' , '(', '[' corner cases