complete constructor
work on add function
complete add function and get cost function
answer all questions in readme except for remove