added base Function class and initial genetic algorithm method
test function defined in MatyasFunction class