Implemented remove() methods and max()

Haven't tested them yet. Need to do it.