Fixed typo in tutorial

Replaced "len" by "length", to match the given code example.