Implemented a Polymonial class and an abstract BaseFunction class
Implemented least square fit. Initial tested