Changed solution for "Typed Arrays"

Uint8Array has a specific constructor, which allows you to create a typed array from a custom data sequence. 
Changed the solution, made it shorter. The solution passes all the tests.