Vertex code finished.
Only left to do to obtain the results, combine them and write them into a file.