Added functions removeNextLargerSuccessor and added 3 test functions