updated register array and added dff, mux, and register files