Added toString methods, finished node generation methods. Updated
tests.