creation of nodes by pressing enter in empty cells