upgrade : dic select, line limit
add math functions
fix white space error, result printing
add functions, fix result printing