function to generate the number game-wokring only with raphael js objects by altering their inner attributes (x,y,text,color). ObserverFunction is the function that is called when a node is clicked.