Added the add method to calculator