Fix faulty implementation of vertex removal.
Correct argument type.
Implement toString method.
Format code.