Create the Direct Mapped and Fully Associative Functions