I second the DBAN (Darik's Boot And Nuke) program. It's free and does more than just formatting and less when you wipe out the HDDs completely making them unusable. For a better result run DBAN multiple times (2-3 at minimum).