Implemented the Add function. Halfway done.