read file directory working, made iterator object, and random number generator. tests passing.