#18 Length function implemented.