add add() method
revise inst.(cpp/h) and Makefile