Adding implementation for remove, print and unit tests.