changes date and homework title data to come from arrays