Completed the remove method, however, may make some changes to it after the keyExist method is working.