refactor balance method
add pascal calculator
count change