added the initial version of the code with html and test pos of nodes