Added code to allow the user to create new nodes by touching the screen.