The Directory to Array Works!!! ONE BUG: Program crashes if the array doesn't have enough indexes!

Signed-off-by: shrimpboyho <shrimpboyhoftw@gmail.com>