Numerical simulations of strongly correlated fermions confined in 1D optical lattices