moved mark(n) outside Graph.prototype.bfs
fixed syntax error in Graph.prototype.mark