It appears to be a juvenile black rat snake, a nonvenomous rodent eating constrictor. It will turn black as it ages. They are relatively common in MD.