Did work on makeArray().

Segfault in while loop condition is an issue.