toArray implementat
docs. Fixes #4
implemented value. Fixes #5. Depends on #6
docs