Added Function class

Function class can take a string and interpret it as a function.
Currently, only +, -, * and / work.