Converted Array<T> to T[], because it's preferred

“You can also write the type of an array in shorthand form as
SomeType[]. Although the two forms are functionally identical, the
shorthand form is preferred”

From “The Swift Programming Language.”
Fix warnings from casting
Merge pull request #47 from iluuu1994/Cleanup

Cleanup