last_indexOfNone_index

some more

functions created and first unittest

unittests done

documentation

tabs to ws

closing brace by Geod24

some inner function could be made static