The statistical mechanics of free and protein -bound DNA by Monte Carlo simulation