fix comments in file
fix isBalanced() method
add comments to the test file