simple calculator

write a function that can solve equations like this: 4+6