add a simple calculator lib.

only support add, minus, times and divide func.