I implemented this for TTU's CS4331 - Special Topics - Software Security class in Fall 2011. I'm realeasing this under MIT license. Feel free to use it for any purposes.